home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000320_news@newsmaster….columbia.edu _Mon Sep 8 13:39:22 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA14323
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 8 Sep 1997 13:39:22 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA12216
  7.     for kermit.misc@watsun; Mon, 8 Sep 1997 13:39:20 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: It is not a bug but a suggestion for improvement of MSK315
  12. Date: 8 Sep 1997 17:39:17 GMT
  13. Organization: Columbia University
  14. Lines: 42
  15. Message-ID: <5v1d85$ka6$1@apakabar.cc.columbia.edu>
  16. References: <3412651b.3423267@news.calvacom.fr>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7643
  19.  
  20. In article <3412651b.3423267@news.calvacom.fr>,
  21. Dominique Ottello <do11@calva.net> wrote:
  22. : I have a suggestion for improvement of MSK315 :
  23. : There are two different variables that give result of input and minput
  24. : command :
  25. :    \v(instatus)
  26. :      Status of most recent INPUT or MINPUT command:
  27. :       -1 for not initialized yet
  28. :        0 for success
  29. :        1 for timed out
  30. :        2 for user level Control-C interrupt
  31. :        4 for connection lost
  32. :    \v(minput)
  33. :      Shows which search pattern was matched by the MINPUT command, which
  34. :      is a script INPUT command with one or more match patterns.  The 
  35. :      variable is 0 if no match was obtained.
  36. : If \v(instatus) is more than 0 it is failure
  37. : if \v(minput) is more than 0 it is success
  38. : It is not coherent.
  39. It's history.
  40.  
  41. : I suggest that \v(minput) not only gives the matched pattern but also gives
  42. : the status of the command :
  43. :  -4 Connection Lost
  44. :  -3 User Level Control-C interrupt
  45. :  -2 Timed Out
  46. :  -1 Not initialized yet
  47. :   0 No match
  48. :   1 ..... XX number of matched pattern
  49. Maybe we could do this, but we would have to keep the previous forms too,
  50. and then any scripts that used the new values in the manner you suggest would
  51. need to allow for the old ones too if they were to be portable.  Anyway, we
  52. will consider this suggestion; thanks!
  53.  
  54. - Frank